]> dgit.raspbian.org Git - gnome-shell.git/commit
screenshot: Add SCREENSHOT_ONLY UI mode
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 15 Dec 2023 20:23:51 +0000 (17:23 -0300)
committerMarge Bot <marge-bot@gnome.org>
Thu, 21 Dec 2023 17:59:17 +0000 (17:59 +0000)
commit75dafd8d9cba28c9301ec40fb849791e05cfa71d
tree5787c15d6bb3c0c496fdfc6d0dd7d46b6ccebe10
parent52a7ee7590f4fffa0a9fb671763ef35174941fab
screenshot: Add SCREENSHOT_ONLY UI mode

Add a screenshot-exclusive mode that makes the screencast button
unreactive, and therefore disables screencasting. It doesn't change
the visibility of the button though, as that's done by the codepath
that checks if screencasting is supported.

This will be used by the D-Bus callback to take interactive
screenshots.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2999>
js/ui/screenshot.js